﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<DVSProject.Models.TitleServiceSummaryModels>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	List Title Service Summary
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>List Title Service Summary</h2>
    <div class="CSSTableGenerator">
    <table>
        <tr>
            <th></th>
            <th>
                TitleServiceSummaryId
            </th>
            <th>
                TitleServiceSummaryName
            </th>
            <th>
                Std
            </th>
            <th>
                Status
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%= Html.ActionLink("Edit", "Edit", new { id=item .TitleServiceSummaryId /* id=item.PrimaryKey */ }) %> |
                <%= Html.ActionLink("Details", "Details", new { id = item.TitleServiceSummaryId /* id=item.PrimaryKey */ })%> |
                <%= Html.ActionLink("Delete", "Delete", new { id = item.TitleServiceSummaryId /* id=item.PrimaryKey */ })%>
            </td>
            <td>
                <%= Html.Encode(item.TitleServiceSummaryId) %>
            </td>
            <td>
                <%= Html.Encode(item.TitleServiceSummaryName) %>
            </td>
            <td>
                <%= Html.Encode(item.Std) %>
            </td>
            <td>
                <%= Html.Encode(item.Status) %>
            </td>
        </tr>
    
    <% } %>

    </table></div>

    <p>
        <%= Html.ActionLink("Create New", "Create") %>
    </p>

</asp:Content>

